package com.topway.dsmflex.thread.services;

import java.sql.Connection;
import java.sql.SQLException;

import com.topway.dsmflex.model.synchro.DataTableBean;


/**
 * 
 * @author liusy 2013-05-2
 *
 */
public interface ISynchroServices {
	
	int synchroInsertData(Connection SourceConn,Connection targetConn,DataTableBean dt) throws SQLException;
	
	int synchroUpdateData(Connection SourceConn,Connection targetConn,DataTableBean dt) throws SQLException;
	
	int synchroInsertOrUpdateData(Connection SourceConn,Connection targetConn,DataTableBean dt) throws SQLException;
	
	int updateTableState(Connection conn, String sql) throws SQLException;
}
